//
//  BarLayerView.h
//  uplife
//
//  Created by ZhangCheng on 2018/12/25.
//  Copyright © 2018年 ZhangCheng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class BarLayerView;
@protocol BarLayerViewDelegate <NSObject>

-(void)barLayerView:(BarLayerView*)barLayerView didSelectedOfIndex:(NSInteger)index;

@end

@interface BarLayerView : UIView
@property (nonatomic,strong)NSMutableArray *xArr;//X轴数据

@property (nonatomic,strong)NSMutableArray *dataArr;//进度数据

@property (nonatomic,strong)NSMutableArray *barArr;//存放柱子的数组  用来删除
@property (nonatomic,assign)id<BarLayerViewDelegate> delegate;

-(void)strokeMKBarChart;//绘制



@end

NS_ASSUME_NONNULL_END
